package nautilus.moneykeeper.dto;

public class CurrencyUnit extends NamedObject {
	
	private float _rate;
	private String _nation;
	
	public CurrencyUnit(){
		_name = null;
		_rate = 0.0f;
		_nation = null;
	}
	
	public CurrencyUnit(String name, float rate, String nation){
		_name = name;
		_rate = rate;
		_nation = nation;
	}
	
	public void setRate(float rate){
		_rate = rate;
	}
	
	public float getRate(){
		return _rate;
	}
	
	public void setNation(String nation){
		_nation = nation;
	}
	
	public String getNation(){
		return _nation;
	}
}
